<HTML
><HEAD
><TITLE
>GR_EVENT_MASK</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Data Types"
HREF="nxstruct.html"><LINK
REL="PREVIOUS"
TITLE="GR_EVENT_KEYSTROKE"
HREF="nxstruct_GR_EVENT_KEYSTROKE.html"><LINK
REL="NEXT"
TITLE="GR_EVENT_MOUSE"
HREF="nxstruct_GR_EVENT_MOUSE.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxstruct_GR_EVENT_KEYSTROKE.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxstruct_GR_EVENT_MOUSE.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXSTRUCT.GR.EVENT.MASK"
>GR_EVENT_MASK</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN9559"
></A
><H2
>Name</H2
>GR_EVENT_MASK&nbsp;--&nbsp;Event masks</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN9562"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef unsigned long GR_EVENT_MASK;
  </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9564"
></A
><H2
>Description</H2
><P
>    A <SPAN
CLASS="TYPE"
>GR_EVENT_MASK</SPAN
> type is a bitwise OR combination of
    one or more of the following event mask flags. This type is used
    along with the 
    <A
HREF="nxapi_GrSelectEvents.html"
>          <TT
CLASS="FUNCTION"
>GrSelectEvents()</TT
></A
>
    to select which event types a window will receive. 
  </P
><DIV
CLASS="TABLE"
><A
NAME="AEN9570"
></A
><P
><B
>Table 3-1. Event Mask Bits</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Value</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_NONE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>This flag consists on NO event flags.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_ALL</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>This mask is a combination of all other mask flags.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_ERROR</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_ERROR</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_EXPOSURE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_EXPOSURE</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_BUTTON_DOWN</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_BUTTON_DOWN</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_BUTTON_UP</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_BUTTON_UP</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_MOUSE_ENTER</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_MOUSE_ENTER</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_MOUSE_EXIT</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_MOUSE_EXIT</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_MOUSE_MOTION</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_MOUSE_MOTION</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_MOUSE_POSITION</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_MOUSE_POSITION</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_KEY_DOWN</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_KEY_DOWN</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_KEY_UP</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_KEY_UP</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_FOCUS_IN</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_FOCUS_IN</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_FOCUS_OUT</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_FOCUS_OUT</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_FDINPUT</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_FDINPUT</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_UPDATE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_UPDATE</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_CHLD_UPDATE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_CHLD_UPDATE</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_CLOSE_REQ</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_CLOSE_REQ</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_TIMEOUT</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_TIMEOUT</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_SCREENSAVER</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive 
        <A
HREF="nxstruct_GR_EVENT_TYPE.html"
>        <TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_SCREENSAVER</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_CLIENT_DATA_REQ</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive 
        <A
HREF="nxstruct_GR_EVENT_TYPE.html"
>        <TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_CLIENT_DATA_REQ</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_CLIENT_DATA</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive 
        <A
HREF="nxstruct_GR_EVENT_TYPE.html"
>        <TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_CLIENT_DATA</TT
></A
>
        events.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_EVENT_MASK_SELECTION_CHANGED</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>When set the window may receive 
        <A
HREF="nxstruct_GR_EVENT_TYPE.html"
>        <TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_SELECTION_CHANGED</TT
></A
>
        events.</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxstruct_GR_EVENT_KEYSTROKE.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxstruct_GR_EVENT_MOUSE.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="STRUCTNAME"
>GR_EVENT_KEYSTROKE</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="nxstruct.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><SPAN
CLASS="STRUCTNAME"
>GR_EVENT_MOUSE</SPAN
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>